package demo;
public class Father {
    public int number;
    public int age;
    public String name;
    public Father(int number, int age, String name) {
        this.number = number;
        this.age = age;
        this.name = name;
        System.out.println("父类构造方法执行");
    }
    static{
        System.out.println("父类静态代码块执行");
    }
    {
        System.out.println("父类实例代码块执行");
    }
}
